package com.ossjk.qlh.system.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ossjk.qlh.system.entity.Permission;

/**
 * <p>
 * 权限表 Mapper 接口
 * </p>
 *
 * @author chair
 * @since 2020-03-21
 */
public interface PermissionMapper extends BaseMapper<Permission> {

	List<Permission> selectUserPermissionByUid(@Param("uid") String uid);

	List<String> selectUserPermissionCodeByUid(@Param("uid") String uid);

}
